Q3Matrix4x4_SetRotate_XYZ
You can use theQ3Matrix4x4_SetRotate_XYZ
function to configure a 4-by-4 transformation matrix that rotates objects around all three coordinate axes.
TQ3Matrix4x4 *Q3Matrix4x4_SetRotate_XYZ ( TQ3Matrix4x4 *matrix4x4, float xAngle, float yAngle, float zAngle);
matrix4x4
- A 4-by-4 matrix.
xAngle
- The desired angle of rotation around the x axis, in radians.
yAngle
- The desired angle of rotation around the y axis, in radians.
zAngle
- The desired angle of rotation around the z axis, in radians.
DESCRIPTION
TheQ3Matrix4x4_SetRotate_XYZ
function returns, as its function result and in thematrix4x4
parameter, a rotational matrix that rotates an object by the specified angles around the x, y, and z axes.